<!DOCTYPE html>
<html>

<body>
<include file="public/menu"/>

<div class="main_container" id="videos_page">
<div class="row-fluid">
<h2 class="heading" align="center">动漫信息管理</h2>
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>动漫信息修改</h5>
              <div class="widget-buttons">
                  <a href="http://www.datatables.net/usage/" data-title="Documentation" class="tip" target="_blank"><i class="icon-external-link"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">
                
            <form action="{:U('editvideos')}" method=POST enctype="multipart/form-data">
            <div class="form-group">
                    <label for="videoname">动漫编号</label>

                    <input class="form-control" type="text" name="id" id="vid"  value={$videos.vid} readonly="true">
                </div>
               <div class="form-group">
                    <label for="videoname">动漫名称</label>

                    <input class="form-control" type="text" name="videoname" id="videoname" placeholder="不超过20字" value={$videos.videoname}>
                </div>

                <div class="form-group">

                    <label>动漫地区</label>

                    <select name="videoarea" class="form-control">
                   <option >{$videos.videoarea}</option>     
                 <option value="中国">中国</option>
                 <option value="日本">日本</option>
                 <option value="欧美">欧美</option>
 
                    </select>

                </div>

                <div class="form-group">

                    <label>电影介绍</label>

                    <textarea class="form-control" name="intro">{$videos.intro}</textarea>

                </div>
                <div class="form-group">
                    <label for="videoadress">视频下载量</label>

                    <input class="form-control" type="text" name="uploadtime" id="videoadress" value={$videos.uploadtime}>

                </div>



              <label for="videopic">原海报</label>
                   <input type="hidden" value="{$videos.pic}" name="pic" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 100px; height: 80px;background-color:#5f5f5f">
                              <img src="__PUBLIC__/Uploads/videophoto/{$videos.pic}">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 100px; max-height: 100px;"></div>
                        
                       <input type="file" name="pic" value="{$videos.pic}">
                      
                      
                      </div> 

                <div class="form-group">
                    <label for="videoadress">视频地址</label>

                    <input class="form-control" type="text" name="uploadaddress" id="videoadress" value={$videos.uploadaddress}>

                </div>


                <div class="form-group">

                    <input class="btn btn-primary" type="submit" name="submit" value="提交">
                    <input class="btn btn-default" type="reset" name="reset" value="重置">
              
            </form>
            
        </div>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->
      </div><!-- main_container -->

<!-- this is userlist -->


</body>
</html>